package com.tyros.common.secure;

import com.tyros.common.secure.utils.ExceptionKit;

/**
 * 加密异常
 *
 * @author zsy
 */
public class CryptoException extends RuntimeException {

    public CryptoException(Throwable e) {
        super(ExceptionKit.getErrorStackTrace(e), e);
    }

    public CryptoException(String message, Throwable e) {
        super(message, e);
    }

    public CryptoException(String message) {
        super(message);
    }
}
